<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<div class="sidebar-user" th:formtarget="employeeinfo">
    <div th:if="${session.userLoginInFo} ne null">
        <div class="sidebar-user-picture">
            <img alt="image" th:src="${session.userLoginInFo.userprofile}">
        </div>
        <div class="sidebar-user-details">
            <div class="user-name" th:text="${session.userLoginInFo.username}"></div>
        </div>
    </div>
    <div th:if="${session.userLoginInFo} eq null">
        <div class="sidebar-user-picture">
            <img alt="image" src="assets/img/users/default.jpg">
        </div>
        <div class="sidebar-user-details">
            <div class="user-name">游客</div>
        </div>
    </div>
</div>
</html>